﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace ourAdd_in
{
    public partial class frmLogIn : Form
    {
        public delegate void logIn_FireRibbon();
        public event logIn_FireRibbon OnLogIn;

        public frmLogIn()
        {
            InitializeComponent();
            ucLogin2.OnLogIn+=new ucLogin.logIn_fireFormLogin(ucLogin2_OnLogIn);
        }

        private void frmLogIn_FormClosed(object sender, FormClosedEventArgs e)
        {
            
        }
        private void ucLogin2_OnLogIn()
        {
            if (OnLogIn != null)
                OnLogIn();
        }
    }
}
